package cn.chencaiju.day04;

public class Programmer extends Employee {
	private double kpi;

	public Programmer(double kpi) {
		super();
		this.kpi = kpi;
	}

	public double getKpi() {
		return kpi;
	}

	public void setKpi(double kpi) {
		this.kpi = kpi;
	}

	public void coding() {
		System.out.println("Programmer ...");
	}
	@Override
	public double getSalary() {
		System.out.print("程序员得工资！");
		return super.getSalary()*(1+kpi);
	}
	

}
